package com.weike.foodsafe.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName: InventoryEntity
 * @Author: YuanDing
 * @Date: 2024/4/27 17:18
 * @Description:
 */
@Data
@TableName("ybsx_inventory")
public class InventoryEntity {
    @TableId
    private String inventoryId;
    private Integer inventoryNumber;
    private String inventoryName;
    private String inventoryGoodsId;
    private Date purchaseDate;
    private String purchaseImg;
    private String addUser;
    private String distributionId;
    private String supplierId;
    private String goodsUnit;
    private String isInventory;
    @TableField(fill = FieldFill.INSERT)
    private Date addtime;

    @TableField(exist = false)
    private String supplierName;

}
